package com.security.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpSession;

/**
 * @作者: 林江
 * @创建时间: 2023/12/26
 * @功能:
 */
@RestController
public class SmsController {

    @GetMapping("/sms/code")
    public void smsCode(HttpSession session) {
        session.setAttribute("smsCode", 1234);
    }
}
